Correctly destroy mkshort handles.
authorrobertl <robertl>
Mon, 12 Sep 2005 20:39:01 +0000 (20:39 +0000)
committerrobertl <robertl>
Mon, 12 Sep 2005 20:39:01 +0000 (20:39 +0000)
xcsv.c

diff --git a/xcsv.c b/xcsv.c
index 95f3e5d86b4fc7eef5001c1e503a11df6a6b0152..c8ac96721a6d68ca10f4e925148f3107305956b9 100644 (file)
--- a/xcsv.c
+++ b/xcsv.c
@@ -159,7 +159,7 @@ xcsv_destroy_style(void)
         xfree(xcsv_file.extension);
 
     if (xcsv_file.mkshort_handle)
-        xfree(xcsv_file.mkshort_handle);
+        mkshort_del_handle(xcsv_file.mkshort_handle);
 
     /* return everything to zeros */
     internal = xcsv_file.is_internal;